<template>
  <div>
    <main>
      <div class="h395">
        <div class="title">听力-听力填空</div>
        <div class="h205">
          Foam-filled furniture is very dangerous if it catches fire, and foam
          quickly produces a high temperature, thick smoke and poisonous gases -
          including carbon monoxide. Therefore, set levels of fire resistance
          have been established for new and second-hand upholstered furniture
          and other similar products.
        </div>
        <div class="h80">
          <span>准备时间：03：30</span>
          <span>答题时间：05：00</span>
          <span>剩余时间：04：15</span>
          <span class="audio"><i class="iconfont icon-xiaolaba"></i></span>
        </div>
      </div>
      <div class="gap"></div>
      <div class="recording">
        <div class="title">录制答案<span>麦克风开启才可以录制哦~</span></div>
        <div class="microphone">
          <i class="iconfont icon-maikefeng"></i>
        </div>
        <div class="countdown">30s后点击开始</div>
        <div class="h70">
          <span><i class="iconfont icon-insert-right-full"></i></span>
          <span class="time">0:15 / 0:56</span>
          <span>
            <el-progress :percentage="50" status="exception"></el-progress>
          </span>
          <span><i class="iconfont icon-xiaolaba"></i></span>
        </div>
      </div>
      <div class="gap"></div>
      <div class="btns">
        <div>
          <span>查看答案</span>
          <span>查看解析</span>
        </div>
        <div class="flexend">
          <span class="redo">重做</span>
          <span class="submit">提交</span>
        </div>
      </div>
      <div class="h177"></div>
    </main>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
main {
  .h395 {
    height: 24.6875rem;
    padding: 0 1.25rem;
    box-sizing: border-box;
    .title {
      border-bottom: 1px solid #ededed;
      height: 4.875rem;
      line-height: 4.875rem;
      font-weight: bold;
      font-size: 1.25rem;
      color: #333;
    }
    .h205 {
      height: 12.8125rem;
      border: .1875rem dashed #ff5e4e;
      box-sizing: border-box;
      margin-top: 1.875rem;
      background-color: #fffafa;
      padding: 1.875rem 1.25rem;
      font-size: 1rem;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #333333;
      line-height: 2rem;
    }
    .h80 {
      height: 5rem;
      line-height: 5rem;
      position: relative;
      span {
        color: #333;
        font-size: 1rem;
        margin-right: 1.875rem;
        .icon-xiaolaba {
          color: #ccc;
          font-size: 1.25rem;
          cursor: pointer;
        }
      }
      .audio {
        position: absolute;
        right: -1.875rem;
        top: 0;
      }
    }
  }
  .gap {
    height: 0.625rem;
    background-color: #f7f7f7;
  }
  .recording {
    height: 23.625rem;
    .title {
      font-size: 2rem;
      color: #333;
      padding: 2.3125rem;
      box-sizing: border-box;
      font-weight: 400;
      span {
        color: #999;
        font-size: 1rem;
        margin-left: 0.625rem;
      }
    }
    .microphone {
      width: 4.375rem;
      height: 4.375rem;
      line-height: 4.375rem;
      text-align: center;
      margin-left: 46%;
      border-radius: 50%;
      cursor: pointer;
      background-color: #ff5e4e;
      .iconfont {
        font-size: 2.5rem;
        color: #fff;
      }
    }
    .countdown {
      height: 2.8125rem;
      line-height: 2.8125rem;
      font-size: 1rem;
      color: #333;
      text-align: center;
    }
    .h70 {
      height: 4.375rem;
      background-color: #f2f2f2;
      width: 24.875rem;
      border-radius: 2.1875rem;
      margin: 1.75rem auto;
      position: relative;
      .icon-insert-right-full {
        color: #666 !important;
        font-size: 1.5rem;
        position: absolute;
        left: 1.5625rem;
        top: 1.0625rem;
      }
      .time {
        font-size: 1rem;
        color: #666666;
        margin-left: 0.625rem;
        display: inline-block;
        height: 100%;
        line-height: 4.375rem;
        margin-left: 3.4375rem;
      }
      /deep/.el-progress-bar {
        width: 11.8125rem;
      }
      /deep/.el-progress__text i {
        display: none;
      }
      .el-progress {
        position: absolute;
        right: 7rem;
        top: 1.8125rem;
      }
      /deep/.el-progress-bar__outer {
        background-color: #fff;
        width: 11.8125rem;
      }
      .icon-xiaolaba {
        color: #666666;
        position: absolute;
        right: 2.0625rem;
        margin-top: 1.25rem;
        font-size: 1.25rem;
      }
    }
  }
  .btns {
    height: 6.25rem;
    display: flex;
    div {
      flex: 1;
      display: flex;
      span {
        height: 3.125rem;
        line-height: 3.125rem;
        text-align: center;
        width: 7.5rem;
        border: 1px solid #cccccc;
        margin: 1.5625rem 0;
        margin-left: 2.5rem;
        font-size: 1.125rem;
        color: #999999;
        border-radius: .3125rem;
        cursor: pointer;
      }
    }
    .flexend {
      display: flex;
      justify-content: flex-end;
    }
    .redo,
    .submit {
      background: #fffafa;
      border: 1px solid #ff5e4e;
      border-radius: .3125rem;
      color: #ff5e4e;
      margin-right: 2.5rem ;
      margin-left: 0;
    }
  }
  .h177 {
    height: 11.0625rem;
    background-color: #f7f7f7;
  }
}
</style>
